#include "app_device.h"
#include "app_bt.h"
int main(int argc, char const *argv[])
{
    device_t *device = app_device_init("/home/vsgo/SmartBridge/test_dev_file");
    if (device == NULL)
    {
        log_error("app_device_init failed");
        return -1;
    }
    app_bt_init(device);
   
    int result = app_device_start();
    if (result != 0)
    {
        log_error("app_device_start failed%d", result);
        return -1;
    }
    while (1)
    {
        
    }
    
    return 0;
}
